<%@page session="true" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@taglib prefix="authz" uri="/WEB-INF/authz.tld"%>
<%@taglib tagdir="/WEB-INF/tags" prefix="bot"%>
<%@taglib uri="/WEB-INF/log.tld" prefix="log"%>
<fmt:formatDate var="todayDate" type="date" pattern="dd-MMM-yyyy" value="${today}"/>

<bot:page title="Choose Name to enter chat" script="/script/chat.js">
<jsp:attribute name="heading">
Emergency Chat Login
</jsp:attribute>
<jsp:body>
<form id="chatLogin" action="<c:url value="/app/chat/enter"/>" method="post">
<label for="name">Name</label>
<input id="name" type="text" name="name" value="<authz:authentication operation="username" />2000"><br>
<label>&nbsp;</label>
<input type="submit" class="submit" value="Enter chat">
</form>
</jsp:body>
</bot:page>
